onBeforeItemDraw Event

Arguments

dataJSON

The data for the row.

indexnumber

A zero based row index for the current row.

Description

Fires before each row in the list is drawn.

Discussion

The onBeforeItemDraw event is triggered before each item in the list is drawn. This event can be used to change the displayed row data (stored in the data argument) without changing the data stored in the List control.

JavaScript in this event can reference the data and index arguments to get more information about the current row being drawn. In addition, the JavaScript can reference the 'this' scope.

See Also